package com.yungu.swift.api.config;

import com.yungu.swift.base.SpringContextHolder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author : cuixiuyin
 * @date : 2019/4/4
 */
@Configuration
@EnableAspectJAutoProxy
public class SpringConfig {

    @Bean
    public SpringContextHolder springContextHolder() {
        return new SpringContextHolder();
    }
}
